package com.huangjue.backend.service;

import com.huangjue.backend.entity.HomeworkReference;
import java.util.List;

/**
 * 作业附件服务接口
 */
public interface HomeworkReferenceService {
    /** 根据ID查询附件 */
    HomeworkReference getReferenceById(Integer homeworkReferenceId);

    /** 查询某作业的所有附件 */
    List<HomeworkReference> getReferencesByHomeworkId(Integer homeworkId);

    /** 新增附件 */
    boolean addReference(HomeworkReference homeworkReference);

    /** 删除附件 */
    boolean deleteReferenceById(Integer homeworkReferenceId);
} 